package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "follow")
public class Follow extends BaseEntity implements Serializable {
    /**
     * 关注id
     */
    @TableId(value = "FOLLOW_ID", type = IdType.AUTO)
    private Integer followId;

    /**
     * 店铺编号
     */
    @TableField(value = "MERCHANT_ID")
    private Integer merchantId;

    /**
     * 用户编号
     */
    @TableField(value = "USER_ID")
    private Integer userId;

    /**
     * 关注时间
     */
    @TableField(value = "FOLLOW_TIME")
    private Date followTime;

    /**
     * 关注状态
     */
    @TableField(value = "FOLLOW_STATUS")
    private Byte followStatus;

    private static final long serialVersionUID = 1L;

    public static final String COL_FOLLOW_ID = "FOLLOW_ID";

    public static final String COL_MERCHANT_ID = "MERCHANT_ID";

    public static final String COL_USER_ID = "USER_ID";

    public static final String COL_FOLLOW_TIME = "FOLLOW_TIME";

    public static final String COL_FOLLOW_STATUS = "FOLLOW_STATUS";
}